#ifndef GY_IMAGEBUTTON_H
#define GY_IMAGEBUTTON_H

#include <QWidget>
#include<QPushButton>
#include"GY_ControlLibrary_global.h"

class GY_ImageButton : public QPushButton
{
    Q_OBJECT

public:
    explicit GY_ImageButton(QWidget *parent = nullptr);
    ~GY_ImageButton();

    void SetButtonStyle(const QIcon  &imgsrc,int height,int width); //实现设置图片


private:

};

#endif // GY_IMAGEBUTTON_H
